Make the `DependencyInner::specified_req` field a bool.
authorJohn Ericson <Ericson2314@Yahoo.com>
Tue, 12 Jul 2016 16:55:02 +0000 (09:55 -0700)
committerJohn Ericson <Ericson2314@Yahoo.com>
Tue, 12 Jul 2016 16:55:02 +0000 (09:55 -0700)
commit0d7b5cc47edb4c4e11f72d9c2fd1c3324a572863
tree8b8ab08f899385c8e235dd52acd9e71ef06bee14
parent9f1ffdd69b9fc564431e027a5043b303c7ec3808
Make the `DependencyInner::specified_req` field a bool.

This field is hardly used. I could almost get rid if it completely, but
then the dependency verifier would have to abort on, say, no version req
specified or the any req. Crates.io indeed doesn't want such wildcards, but
other registries some day may have a different policy.

Making it a mere bool---since all the information it contained is in the
`req` field anyways---was the next best thing.
src/cargo/core/dependency.rs
src/cargo/ops/registry.rs